package com.jinhongone.beans;

/**
 * @author jinho
 * @className PropertyValue
 * @description 将xml中<property>标签封装为java pojo（解析xml后对property标签进行封装）
 * @date 2025/4/25 15:31
 */
public class PropertyValue {

    private String name; //bean属性名
    private String ref; //属性为引用数据类型时的值
    private String value;//属性为基本数据类型时的值

    public PropertyValue() {
    }

    public PropertyValue(String name, String ref, String value) {
        this.name = name;
        this.ref = ref;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public String getRef() {
        return ref;
    }

    public String getValue() {
        return value;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRef(String ref) {
        this.ref = ref;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
